package com.sunbim.rsrv.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 江苏省地区表
 * </p>
 *
 * @author yuhui
 * @since 2022-01-14
 */
@Getter
@Setter
@TableName("region")
@ApiModel(value = "Region对象", description = "江苏省地区表")
public class Region implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("市")
    @TableField("city")
    private String city;

    @ApiModelProperty("区")
    @TableField("zone")
    private String zone;

    @ApiModelProperty("镇")
    @TableField("town")
    private String town;


}
